.chat {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  .title {
    height: 50px;
    flex-shrink: 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .chat-list {
    padding: 10px;
    flex: 1;
    .chat-list-item-left {
      display: flex;
      margin-bottom: 10px;
      .avatar {
        margin-right: 10px;
        img {
          width: 50px;
          height: 50px;
          border-radius: 4px;
        }
      }
      .content {
        margin-right: 60px;
        .text {
          background-color: green;
          border-radius: 10px;
          padding: 6px;
          color: white;
        }
      }
    }
    .chat-list-item-right {
      display: flex;
      flex-direction: row-reverse;
      margin-bottom: 10px;
      .avatar {
        margin-left: 10px;
        img {
          width: 50px;
          height: 50px;
          border-radius: 4px;
        }
      }
      .content {
        margin-left: 60px;
        .text {
          background-color: green;
          border-radius: 10px;
          padding: 6px;
          color: white;
        }
      }
    }
  }
  .opration {
    height: 50px;
    flex-shrink: 0;
    border-top: 1px solid #ccc;
    display: flex;
    input {
      border: 0;
      flex: 1;
    }
    button.submit {
      border: 0;
      background-color: skyblue;
      color: white;
      width: 50px;
    }
  }
}
